using System;
using System.Collections.Generic;
using System.Text;

using System.Configuration;

namespace Kenly.DBFramework.ORMCodeHelper
{
    public static class ConfigManager
    {
        private static AppSettingsReader _appReader = new AppSettingsReader();
      
        public static string GetConfigValue(string key)
        {
            return _appReader.GetValue(key, typeof(string)).ToString();
        }

        public static string GetConnectionString()
        {
            string str = GetConfigValue("ConnectionString");
            return str;
        }

    }
}
